package com.liuhouse.dao;

import com.liuhouse.model.Student;
import org.apache.ibatis.annotations.Param;

public interface StudentMapper {

    //根据电话查询学生信息
    Student selectStudentByPhone(@Param("phone") String phone);

    //添加学生信息

    Integer addStudentByData(Student student);

    //根据id查询学生信息
    Student selectStudentById(@Param("id") Integer id);
}
